package bean;


import com.google.gson.Gson;

/**
 * 围栏列表GSON持久化实体
 */
public class MessageForSos {

	/**
	 * 返回码
	 */
	private String code;
	/**
	 * 返回信息
	 */
	private String msg;
	/**
	 * 返回数据
	 */
	private EntityForSosList data;

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	public EntityForSosList getData() {
		return data;
	}

	public void setData(EntityForSosList data) {
		this.data = data;
	}

	@Override
	public String toString() {
		return new Gson().toJson(this);
	}
}
